package edu.yzu.testspringboot002.common.constant;


import jodd.util.StringPool;

/**
 * 缓存列族常量
 *
 * @author yulang
 * @date 2023-08-10
 */
public class CacheColumnFamilyConstants {

    private CacheColumnFamilyConstants() {
    }

    public static final String USER_INFO = "user:info";


    public static final String DEPT_INFO = "SYS:DEPT";


    public static final String DOCTOR_PATINER = "DOCTOR:PATINER";

    public static final String DOCTOR_EXT = "DOCTOR:EXT";

    public static final String OPEND_ID = "OPENID";

    public static final String DOCTOR_INFO = "DOCT";

    public static final String ACTIVE_ROCKET = "ACTIVE";

    public static String getActiveCacheKey(String openId,Integer configId){
        return openId.replaceAll(StringPool.DASH,"").toUpperCase()+configId;
    }
}
